package com.garen.fire.entity;

import javax.persistence.*;

import com.garen.orm.annotation.Formula;


@Table(name="fire_case_info")
public class FireCaseInfo {
	
	//GPS位置
	public final static Integer GPS_TYPE_PLAT = 0;
	public final static Integer GPS_TYPE_AMAP = 1;
	public final static Integer GPS_TYPE_TEAM = 2;
	
	/**
	*案件状态:
	*/
	public final static String STATUS_INIT = "0";//默认值
	public final static String STATUS_START = "1";//处警
	public final static String STATUS_GO = "2";//出发
	public final static String STATUS_REACH = "3";//到场
	public final static String STATUS_STOP = "6";//灭火
	public final static String STATUS_BACK = "7";//返程
	public final static String STATUS_OVER = "8";//归队
		
	@Column(name = "org_id",insertable=false)
	private Integer orgId;
	
	/**
	*主管中队简称
	*/
	@Column(name = "zgzd_name",insertable=false)
	private String zgzdName;
	/**
	 *
	 */
	@Column(name = "statuscount",insertable=false)
	private String statuscount;
	
	@Column(name = "usercount",insertable=false)
	private long usercount;
	@Column(name = "cartype",insertable=false)
	private String cartype;

	public long getUsercount() {
		return usercount;
	}

	public void setUsercount(long usercount) {
		this.usercount = usercount;
	}

	public String getCartype() {
		return cartype;
	}

	public void setCartype(String cartype) {
		this.cartype = cartype;
	}

	/**
	*灾害场所
	*/
	@Column(name = "zhcs")
	private String zhcs;

	/**
	*报警时间
	*/
	@Column(name = "bjsj")
	@com.alibaba.fastjson.annotation.JSONField(format="yyyy-MM-dd HH:mm:ss")
	private java.util.Date bjsj;

	/**
	*gps位置类型
	*/
	@Column(name = "gps_type")
	private Integer gpsType;

	/**
	*灾害判定
	*/
	@Column(name = "zhpd")
	private String zhpd;

	/**
	*灾害地址
	*/
	@Column(name = "zhdz")
	private String zhdz;
	
	/**
	*修正灾害地址
	*/
	@Column(name = "zhdz_ex")
	private String zhdzEx;
	

	/**
	*纬度
	*/
	@Column(name = "gps_lat")
	private Double gpsLat;

	/**
	*行政区划
	*/
	@Column(name = "xzqh")
	private String xzqh;

	/**
	*经度
	*/
	@Column(name = "gps_lng")
	private Double gpsLng;

	/**
	*
	*/
	@Column(name = "jssj")
	@com.alibaba.fastjson.annotation.JSONField(format="yyyy-MM-dd")
	private java.util.Date jssj;

	/**
	*灾害等级
	*/
	@Column(name = "zhdj")
	private String zhdj;

	/**
	*报警电话
	*/
	@Column(name = "bjdh")
	private String bjdh;

	/**
	*报警人
	*/
	@Column(name = "bjr")
	private String bjr;

	/**
	*机主姓名
	*/
	@Column(name = "jzxm")
	private String jzxm;

	/**
	*案件状态: 1-处警 2-到场 3-结束 4归队
	*/
	@Column(name = "status")
	private String status;

	/**
	*备注
	*/
	@Column(name = "remark")
	private String remark;

	/**
	*案件编号
	*/
	@Column(name = "ajbh",nullable=false)
	private String ajbh;

	/**
	*灾害类型
	*/
	@Column(name = "zhlx")
	private String zhlx;

	/**
	*主管中队
	*/
	@Column(name = "zgzd")
	private String zgzd;

	/**
	*燃烧物
	*/
	@Column(name = "rsw")
	private String rsw;

	/**
	*烟雾情况
	*/
	@Column(name = "ywqk")
	private String ywqk;

	/**
	*人员受困
	*/
	@Column(name = "rysk")
	private String rysk;

	/**
	*主键ID
	*/
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "case_id",nullable=false)
	private Integer caseId;

	/**
	*
	*/
	@Column(name = "kssj")
	@com.alibaba.fastjson.annotation.JSONField(format="yyyy-MM-dd")
	private java.util.Date kssj;



	public String getZhcs() {
		return zhcs;
	}

	public void setZhcs(String zhcs) {
		this.zhcs=zhcs;
	}

	public java.util.Date getBjsj() {
		return bjsj;
	}

	public void setBjsj(java.util.Date bjsj) {
		this.bjsj=bjsj;
	}

	public Integer getGpsType() {
		return gpsType;
	}
	
	public String getStatuscount() {
		return statuscount;
	}

	public void setStatuscount(String statuscount) {
		this.statuscount = statuscount;
	}

	public void setGpsType(Integer gpsType) {
		this.gpsType=gpsType;
	}

	public String getZhpd() {
		return zhpd;
	}

	public void setZhpd(String zhpd) {
		this.zhpd=zhpd;
	}

	public String getZhdz() {
		return zhdz;
	}

	public void setZhdz(String zhdz) {
		this.zhdz=zhdz;
	}

	public Double getGpsLat() {
		return gpsLat;
	}

	public void setGpsLat(Double gpsLat) {
		this.gpsLat=gpsLat;
	}

	public String getXzqh() {
		return xzqh;
	}

	public void setXzqh(String xzqh) {
		this.xzqh=xzqh;
	}

	public Double getGpsLng() {
		return gpsLng;
	}

	public void setGpsLng(Double gpsLng) {
		this.gpsLng=gpsLng;
	}

	public java.util.Date getJssj() {
		return jssj;
	}

	public void setJssj(java.util.Date jssj) {
		this.jssj=jssj;
	}

	public String getZhdj() {
		return zhdj;
	}

	public void setZhdj(String zhdj) {
		this.zhdj=zhdj;
	}

	public String getBjdh() {
		return bjdh;
	}

	public void setBjdh(String bjdh) {
		this.bjdh=bjdh;
	}

	public String getBjr() {
		return bjr;
	}

	public void setBjr(String bjr) {
		this.bjr=bjr;
	}

	public String getJzxm() {
		return jzxm;
	}

	public void setJzxm(String jzxm) {
		this.jzxm=jzxm;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status=status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark=remark;
	}

	public String getAjbh() {
		return ajbh;
	}

	public void setAjbh(String ajbh) {
		this.ajbh=ajbh;
	}

	public String getZhlx() {
		return zhlx;
	}

	public void setZhlx(String zhlx) {
		this.zhlx=zhlx;
	}

	public String getZgzd() {
		return zgzd;
	}

	public void setZgzd(String zgzd) {
		this.zgzd=zgzd;
	}

	public String getRsw() {
		return rsw;
	}

	public void setRsw(String rsw) {
		this.rsw=rsw;
	}

	public String getYwqk() {
		return ywqk;
	}

	public void setYwqk(String ywqk) {
		this.ywqk=ywqk;
	}

	public String getRysk() {
		return rysk;
	}

	public void setRysk(String rysk) {
		this.rysk=rysk;
	}

	public Integer getCaseId() {
		return caseId;
	}

	public void setCaseId(Integer caseId) {
		this.caseId=caseId;
	}

	public java.util.Date getKssj() {
		return kssj;
	}

	public void setKssj(java.util.Date kssj) {
		this.kssj=kssj;
	}

	public Integer getOrgId() {
		return orgId;
	}

	public void setOrgId(Integer orgId) {
		this.orgId = orgId;
	}

	public String getZgzdName() {
		return zgzdName;
	}

	public void setZgzdName(String zgzdName) {
		this.zgzdName = zgzdName;
	}

	public String getZhdzEx() {
		return zhdzEx;
	}

	public void setZhdzEx(String zhdzEx) {
		this.zhdzEx = zhdzEx;
	}
	
}
